//****************************************************
// Porman Project 2
// Filename: CDepthStencilObject.h
// Date: 2008/05/31
// Author: KengYu Lin
// Modify:
//****************************************************
#ifndef _CDEPTHSTENCILOBJECT_H
#define _CDEPTHSTENCILOBJECT_H
#include "CBaseObject.h"

namespace Porman
{

namespace GL
{

class CDepthStencilObject : public CBaseObject
{
    friend class CRenderDevice;
public:
    PGL_API virtual void setName( const char* pName ) { m_sName = std::string("DStObj_") + std::string( pName ); }
    PGL_API ERESULT setDepthStencil( int iWidth, int iHeight );

protected:
    CDepthStencilObject( CRenderDevice* pDevice );
    virtual ~CDepthStencilObject( void );

protected:
    unsigned int m_uiDepthStencilObjID;
};

}//End namespace GL

}//End namespace Porman

#endif